<template>
    <div>
        <Title titleOne="系统设置" titleTwo="导航设置"></Title>
        <el-tabs type="card" v-if="$store.state.userInfo.groups == 1">
            <el-tab-pane label="一级标题">
                <FirstLevel></FirstLevel>
            </el-tab-pane>
            <el-tab-pane label="二级标题">
                <SecondLevel></SecondLevel>
            </el-tab-pane>
            <!--<el-tab-pane label="三级标题">

            </el-tab-pane>-->
        </el-tabs>
        <router-view></router-view>
    </div>
</template>

<script>
    import FirstLevel from "./FirstLevel"
    import SecondLevel from "./SecondLevel"

    export default {

        name: "level",
        components: {
            'FirstLevel': FirstLevel,
            'SecondLevel': SecondLevel,
        },
        methods: {
            /*firstLevel: function () {
                this.$router.push({path: '/app/home/setting/level/first'});
            }*/
        }
    }
</script>

<style scoped>

</style>
